home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / compstol / cmpsttl1.lha / CompositeTool / v1.1.dist / HDF / Makefile < prev   
Encoding:
Makefile  |  1990-05-08  |  2.1 KB  |  76 lines

  1. #
  2. #/*****************************************************************************
  3. #*
  4. #*                         NCSA HDF version 3.00
  5. #*                               December, 1989
  6. #*
  7. #* NCSA HDF Version 3.00 source code and documentation are in the public
  8. #* domain.  Specifically, we give to the public domain all rights for future
  9. #* licensing of the source code, all resale rights, and all publishing rights.
  10. #*
  11. #* We ask, but do not require, that the following message be included in all
  12. #* derived works:
  13. #*
  14. #* Portions developed at the National Center for Supercomputing Applications at
  15. #* the University of Illinois at Urbana-Champaign.
  16. #*
  17. #* THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
  18. #* SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
  19. #* WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
  20. #*
  21. #*****************************************************************************/
  22. #
  23. # Makefile for compiling required HDF routines and creating the library
  24. # for use with CompositeTool 1.1.
  25. #
  26. # THIS IS ONLY A SUBSET OF THE NCSA HDF VERSION 3.00! THERE IS A
  27. # SEPARATE DISTRIBUTION FOR NCSA HDF. See the anonymous FTP server
  28. # README.FIRST file for details.
  29. #
  30. # If you type 
  31. #
  32. #            make
  33. #
  34. # in this directory, correct execution will result in the library file
  35. #
  36. #            libdf.a
  37. #
  38. # in this directory.
  39. #
  40. # The header files required are all in this directory.
  41. #
  42. #------------------------------------------------------------------------------
  43. #
  44. CFLAGS = -O
  45. #
  46. OBJS =        df.o \
  47.         dfr8.o \
  48.         dfgroup.o \
  49.         dfcomp.o \
  50.         dfimcomp.o \
  51.         dfkit.o \
  52.         dfp.o
  53. #
  54. # include this simply to prevent the printing of the compile line.
  55. #
  56. .c.o:
  57.     @ $(CC) $(CFLAGS) -c $<
  58. #
  59. # include 1>/dev/null 2>&1 to prevent the printing of any output
  60. #
  61. libdf.a: $(OBJS)
  62.     @ if [ -f libdf.a ]; then \
  63.         ar ruv libdf.a $? 1>/dev/null 2>&1; \
  64.     else \
  65.         ar rcv libdf.a $? 1>/dev/null 2>&1; \
  66.     fi
  67.     @ ranlib libdf.a
  68. #
  69. df.o:        dfi.h df.h
  70. dfr8.o:        dfrig.h dfi.h df.h
  71. dfgroup.o:    dfi.h df.h
  72. dfcomp.o:    dfi.h df.h
  73. dfimcomp.o:    dfi.h df.h
  74. dfkit.o:    dfi.h df.h
  75. dfp.o:        dfi.h df.h
  76.